﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Text;

namespace DataModel
{
    /// <remarks>题集</remarks>
    public class Questions
    {
        private int _id;
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int id
        {
            get { return _id; }

            set { _id = value; }
        }

        public string textContent { get; set; }

        public string Answer { get; set; }

        public int qtype { get; set; }
    }
}